-
Home
-
Payment Gateway for Cielo API on WooCommerce
-
1.8.0
-
Code
-
Classes
- LknWCGatewayCieloDebit
Total Complexity |
92 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
1,035 |
Lines of code |
770 |
Logical lines of code |
283 |
Comment lines |
133 |
Methods |
15 |
Properties |
3 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_payment() |
C |
24 |
23 |
195 |
get_card_provider() |
A |
42 |
14 |
55 |
payment_fields() |
A |
33 |
2 |
187 |
init_form_fields() |
A |
33 |
2 |
131 |
payment_gateway_scripts() |
A |
49 |
8 |
27 |
generate_debit_auth_token() |
A |
45 |
7 |
40 |
process_refund() |
S |
50 |
7 |
26 |
validate_exp_date() |
S |
53 |
6 |
23 |
validate_card_number() |
S |
57 |
6 |
16 |
validate_fields() |
S |
57 |
5 |
16 |
validate_cvv() |
S |
61 |
4 |
12 |
__construct() |
S |
51 |
3 |
25 |
lknGetCartTotal() |
S |
64 |
2 |
9 |
add_notice_once() |
S |
73 |
2 |
5 |
admin_load_script() |
S |
77 |
1 |
3 |